<script setup lang='ts'>
import { onMounted, ref } from 'vue';

	
	defineProps({
		name: {
			type: String,
			default: '未传入姓名'
		}
	})
	const name2 = ref(null)
	
	onMounted(() => {
		console.log(name2.value);
	})
	
		
</script>


<template>
	<image src="/static/logo.png" mode=""></image>
	<div ref="name2">{{name}}</div>
</template>


<style scoped lang='scss'>

</style>